package Others.DesignPattern.ProxyPattern.Original;

import Others.DesignPattern.ProxyPattern.Original.Object.BePursued;
import Others.DesignPattern.ProxyPattern.Original.Object1.broker;

public class main1 {
    public static void main(String[] args) {

        BePursued jiaojiao = new BePursued("李娇娇");
        broker daili = new broker(jiaojiao.getName());
        daili.giveChocolates();
        daili.giveDolls();
        daili.giveFlowers();

        //但是这样写，相当于daili送的礼物给jiaojiao，而不是zhuojiayi

    }
}
